Return to doc.sitecore.com

Valid for Sitecore 5.2, 5.1.1
  Create a Device
Prev Next
  1. Log in to Content Editor as a user with appropriate permissions (Content Editor can also be accessed directly from the Sitecore Desktop).
  2. Select Layout from the first entry in the treecrumb (the default selection is Content).
  3. Select the Devices node.
  4. If New Device is not visible, select View » Toolbar.
  5. Select New Device and enter a logical name for the device (for example, Print or Firefox).
  6. If this Device should be used by default for unrecognized or unspecified devices, select the Default checkbox.
  7. If this Device is not the Default device, you may select a Fallback Device to use if no Layout is specified for this Device for a given item.
  8. If the Device can be detected from the browser user-agent, enter the identifying portion of the user-agent string in the Browser Agent field, for instance “Gecko”.  Alternatively enter the URL parameter to match in the Query String field, for instance “print=1”.  Note that rendering logic will be responsible for creating links with such URL parameters.
  9. If this Device will be the default for an entire domain or subdomain, set the device attribute to the name of this default Device in the <site> element referencing that domain or subdomain in the <sites> section of web.config, for instance <site hostname="pda.company.com" device="pda" ...>.
  10. The Device Item will need to be published before it can be used on the published site.

Prev Next